Skip to content

Release SDK updates - #157

Merged
rgarcia merged 3 commits into
mainfrom
stainless/release
Aug 8, 2026
Merged

Release SDK updates#157
rgarcia merged 3 commits into
mainfrom
stainless/release

Conversation

@kernel-internal

@kernel-internal kernel-internal Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

ccf8448 feat: Expose authenticated request context
b6b6518 feat: Add audit logs plan paywall to the dashboard
bb67ffa feat: Expose profile save behavior in browser responses


Note

Medium Risk
New auth introspection and audit export destination APIs touch compliance-sensitive flows; audit module path change is mitigated by re-exports but deep imports may need updating.

Overview
OpenAPI/Stainless SDK release that wires up three API surface changes and reorganizes audit logs into a subpackage.

Auth: New client.auth.context.retrieve() (GET /auth/context) returns AuthContext (principal, organization, authentication method/source, credential vs effective project scope) without secrets.

Audit logs: AuditLogs moves from src/resources/audit-logs.ts to src/resources/audit-logs/ with a barrel re-export so existing audit-logs import paths still work. client.auditLogs.exportDestinations adds create/retrieve/update/list/delete plus test for Enterprise S3 continuous export (role assumption, jsonl.gz, active/paused status).

Browsers: Browser-related response shapes gain optional profile_save_changes (whether session changes persist to the attached profile on teardown), including invocations and browser-pool types.

Generated API docs and skipped mock-server tests cover the new resources; endpoint count rises 127 → 134.

Reviewed by Cursor Bugbot for commit ccf8448. Bugbot is set up for automated code reviews on this repo. Configure here.

Stainless-Generated-From: f726e3683e448853773ff4d4b80c3c4a6923fd51
Stainless-Generated-From: dc92ffe81ea63e5db991bab3b3350ff53f00df26
Stainless-Generated-From: 6e370a57405066ad44066d88f375704812affb83

@rgarcia rgarcia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generated SDK changes are validated and ready for promotion.

@rgarcia
rgarcia merged commit 250809d into main Aug 8, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant